import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App.jsx";
import "./index.css";

class CC {
  constructor(id) {
    const app = document.getElementById(id);
    this.app = app;
  }
  init() {
    ReactDOM.createRoot(this.app).render(
      <React.StrictMode>
        <App />
      </React.StrictMode>
    );
  }
}

export default CC;
